# John's version
# Lab 1, Part B

print("Area of a trapezoid")
h = float(input("Enter height of trapezoid: "))
lBot = float(input("Enter length of bottom base: "))
lTop = float(input("Enter length of top base: "))

A = (1/2)*(lBot+lTop)*h 

print("The area is: ", A)